'use strict';
import App from 'framework/app.js';
import index from './index.vue';
import createStore from './store';
import createRouter from './router';
const options = { base: '/admin/' };
import ElementUI from 'element-ui';
import Vue from 'vue';
import 'element-ui/lib/theme-chalk/index.css';
import './style/element-variables.scss';
Vue.use(ElementUI);
import { Loading } from 'element-ui';
import './utils/axios';
let loadingInstance = Loading.service({
  lock: true,
  text: 'Loading',
  spinner: 'el-icon-loading',
  background: 'rgba(255, 255, 255, 1)',
});
setTimeout(() => {
  loadingInstance.close();
}, 1000);
export default new App({
  index,
  options,
  createStore,
  createRouter,
}).bootstrap();
